import React from 'react'
import { Route, Router, Switch } from 'react-router-dom'
import Admin from './views/admin'
import Login from './views/login'


export default function App() {
  return (
    <Switch>
      <Route path="/login" component={Login}></Route>
      <Route path="/admin" component={Admin}></Route>
    </Switch>
  )
}

